﻿using MediatR;
using SmartMedicalCare.Domain;
using SmartMedicalCare.ErronCode;
using System.ComponentModel.DataAnnotations;

namespace SmartMedicalCare.API.Read.Applications.Commands
{
    public class QueryCarouselCommand:IRequest<APIResult<APIPaging<CarouselModel>>>
    {
        /// <summary>
        /// 【必填】轮播图标题
        /// </summary>
        public string? Title { get; set; } = string.Empty;
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? settime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? enttime { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int Pagindex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int Pagsize {  get; set; }
    }
}
